package com.whut.monitor.service;

import com.alibaba.fastjson.JSONObject;

import java.io.IOException;

/**
 * @author CFlower
 * 2017/6/26
 * 远程摄像头服务层接口
 */
public interface IVideoService {
    JSONObject getAccessToken(String appKey, String appSecret) throws IOException;

    JSONObject getDeviceInfo(String accessToken, String deviceSerial) throws IOException;

    JSONObject setVideoControl(String accessToken, String deviceSerial, int channelNo, int direction, int speed) throws IOException;

    JSONObject setVideoControlStop(String accessToken, String deviceSerial, int channelNo) throws IOException;
}
